.home-wrap {
    padding: 20px 0;
    min-width: $large-width;
    height: 610px;
    background-color: skyblue;
    text-align: center;

    .left {
        position: relative;
        display: inline-block;
        box-sizing: border-box;
        width: $large-left-width;
        height: 610px;
        border-radius: 4px;
        background-color: papayawhip;
        vertical-align: top;

        @extend %coverBg;

        &:hover {
            .btn {
                display: inline-block;
            }
        }

        .btn {
            position: absolute;
            top: 50%;
            left: 50%;
            display: none;
            padding: 10px 20px;
            border: 1px solid rgba($color: skyblue, $alpha: 0.3);
            border-radius: 4px;
            color: skyblue;
            font-size: 14px;
            cursor: pointer;
            transform: translate(-50%, -50%);

            &:hover {
                background-color: rgba($color: skyblue, $alpha: 0.3);
            }
        }
    }

    .right {
        display: inline-block;
        overflow: scroll;
        box-sizing: border-box;
        margin-left: 10px;
        padding: 12px;
        height: 610px;
        border-radius: 4px;
        background-color: rgba($color: #000000, $alpha: 0.3);
        vertical-align: top;

        .list {
            .item {
                position: relative;
                box-sizing: border-box;
                margin-bottom: 10px;
                width: 200px;
                height: 110px;
                background-color: rgba($color: #000000, $alpha: 0.3);
                cursor: pointer;

                @extend %coverBg;

                &:last-child {
                    margin-bottom: 0;
                }

                .border {
                    position: absolute;
                    top: 0;
                    right: 0;
                    bottom: 0;
                    left: 0;
                    border: 2px solid skyblue;
                }

                .triangle {
                    position: absolute;
                    top: 50%;
                    left: 0;
                    display: inline-block;
                    border: 5px solid transparent;
                    border-right-color: skyblue;
                    transform: translate(-100%, -50%);
                }

                &.active {
                    &::before {
                        background-color: transparent;
                    }
                }

                &:hover {
                    &::before {
                        background-color: transparent;
                    }
                }

                &::before {
                    position: absolute;
                    display: block;
                    width: 100%;
                    height: 100%;
                    border-radius: 4px;
                    background-color: rgba(0, 0, 0, 0.4);
                    content: '';
                    transition: all cubic-bezier(0.22, 0.58, 0.12, 0.98) 0.4s;
                }

                .txt {
                    position: absolute;
                    bottom: 2px;
                    left: 4px;
                    color: white;
                    font-size: 13px;
                }
            }
        }

        .none {
            color: white;
            font-size: 14px;
        }
    }
}

// 屏幕宽度小于$large-width的时候
@media screen and (max-width: $large-width) {
    .home-wrap {
        height: 460px;

        .left {
            width: $medium-left-width;
            height: 460px;
        }

        .right {
            height: 460px;

            .list {
                .item {
                    width: 150px;
                    height: 80px;
                }
            }
        }
    }
}